all : server client
server:protobuf_server.cc response.pb.cc ../include/muduo/proto/codec.cc 
	g++  $^ -o $@  -std=c++14 $ -I../include -L../lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz
client:protobuf_client.cc response.pb.cc ../include/muduo/proto/codec.cc
	g++  $^ -o $@  -std=c++14 $ -I../include -L../lib -lmuduo_net -lmuduo_base -lpthread -lprotobuf -lz
.PHONY:clean
clean:
	rm -rf server client 